package com.usian.bussiness.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("jzf-account")
public interface AccountFeignService {
    @RequestMapping("account/debit")//扣减金钱
    public void debit(@RequestParam("userId") String userId, @RequestParam("money") int money);
}
